<?php if (!defined('THINK_PATH')) exit();?><form method="post" action="__URL__/setship/?action=fship&order=<?php echo ($order["order_id"]); ?>">
<table border="0" width="100%" id="table1">
	<tr>
		<td align="right">配送方式：</td>
		<td>
		<select size="1" name="shipping">
<?php if(is_array($express)): $i = 0; $__LIST__ = $express;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$express): $mod = ($i % 2 );++$i; if($express[id] == $order[shipping_id]): ?><option value="<?php echo ($express["id"]); ?>" selected><?php echo ($express["ex_name"]); ?></option>
<?php else: ?>
		<option value="<?php echo ($express["id"]); ?>"><?php echo ($express["ex_name"]); ?></option><?php endif; endforeach; endif; else: echo "" ;endif; ?>
		</select>
		<span style="font-size:12px;">(注:默认选中的是用户自己选择的配送方式)</span>
		</td>
	</tr>
	<tr>
		<td align="right">运单号：</td>
		<td><input type="text" name="code" size="20"></td>
	</tr>
	<tr>
		<td align="right">运费实付：</td>
		<td><input type="text" name="exfee" size="20" value="<?php echo ($order["dly_money"]); ?>"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td><input type="text" name="note" size="40"></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit" value="完成发货"  onclick="javascript:return confirm('你真的要发货吗？')" name="B1"></td>
	</tr>
</table>
</form>